xsm: return unlabeled instead of failing with ENOENT in get_page_sid
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 17:26:01 +0000 (18:26 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 17:26:01 +0000 (18:26 +0100)
commitf9b43436a82493421eee03e45ffd07c42e8cab05
treef520e19d12fdb476a95571edcb765c57caef1a75
parent2b989e000bebf33af73ef5394d9a5860ededfb2f
xsm: return unlabeled instead of failing with ENOENT in get_page_sid

It is better to return an unlabeled SID in the case where dsec is NULL
instead of bailing out with an error.

From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Keir Fraser <Keir.Fraser@eu.citrix.com>
xen/xsm/flask/hooks.c